﻿using System.Windows;
using Brjnk.GpxExplorer.Workspace;

namespace Brjnk.GpxExplorer.UI
{
    /// <summary>
    /// Interaction logic for ManageMapSourcesWindow.xaml
    /// </summary>
    public partial class ManageMapSourcesWindow : Window
    {
        public ManageMapSourcesWindow(MapManager manager)
        {
            this.DataContext = manager;
            InitializeComponent();
        }

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            this.DialogResult = true;
        }

        //private void link_MouseDown(object sender, MouseButtonEventArgs e)
        //{
        //    var txb = e.OriginalSource as TextBlock;
        //    if (txb != null) System.Diagnostics.Process.Start(txb.Text);
        //}
    }
}